package util

/**
 * <p>
 * Created by IntelliJ IDEA.
 * User: zslajchrt
 * Date: Sep 10, 2010
 * Time: 2:34:59 PM
 */

object Elvis {
  implicit def elvisOperator[T](alt: T) = new {
    def ?:[A >: T](pred: A) = if (pred == null) alt else pred
  }
}